<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 800px;
            height: 300px;
            border: 5px solid #000;
            margin: 100px auto;
            overflow: hidden;
        }
        .box ul {
            display: flex;
            animation: move 6s infinite linear;
        }

        @keyframes move {
            0% {
                transform: translate(0);
            }
            100% {
                transform: translate(-1400px);
            }
        }
        .box:hover ul {
            animation-play-state: paused;
        }
    </style>
</head>
<body>
    <div class="box">
    <ul>
        <li><img src="../day7-30/img/1.jpg" alt=""></li>
        <li><img src="../day7-30/img/2.jpg" alt=""></li>
        <li><img src="../day7-30/img/3.jpg" alt=""></li>
        <li><img src="../day7-30/img/4.jpg" alt=""></li>
        <li><img src="../day7-30/img/5.jpg" alt=""></li>
        <li><img src="../day7-30/img/6.jpg" alt=""></li>
        <li><img src="../day7-30/img/7.jpg" alt=""></li>
        <!-- 替身：填补显示区域的露白 -->
        <li><img src="../day7-30/img/1.jpg" alt=""></li>
        <li><img src="../day7-30/img/2.jpg" alt=""></li>
        <li><img src="../day7-30/img/3.jpg" alt=""></li>
    </ul>
</div>
</body>
</html>